package com.unionpay.fsas;

/**
 * @author caoqc
 * @Description:
 * @date 2021/12/07 17:15:16
 */
public class Test3 {
    public static void main(String[] args) {
        String publicKey = "E0048324F803746201855C0C21B9F03F69EEFB5CB613369535D1FFA85EE2FB5C375E8031F0D16B96A8C843BED3C0D44F8B6FE3A4E1A67E19EF53BE9C079ABE38";
        //String publicKey = "3c59ccb2c52e034337fad49eca0095587eb40e24ffc642d07e0c911ea4a3b0e94f11b92b51047f6f75badf5ab2fc2e15ba4dfddf95869d4fa8d8852dea811d4b";


        String publicKey2="930DBB46F63C980C7A87BBE7496FFE5F76FEF9AD44E8BCD04CF58C3A228F01F653A8930A7919D03442ADF8DEC403DF181D585E3824FD4E56777E482D359707F3";


        test(publicKey2);

    }

    private static void test(String publicKey){
        System.out.println(publicKey.length());
        System.out.println(publicKey.length());
        System.out.println(publicKey.length());

        String x = publicKey.substring(0, 64).toUpperCase();
        String y = publicKey.substring(64, publicKey.length()).toUpperCase();

        System.out.println(x);
        System.out.println(x.length());

        System.out.println(y);
        System.out.println(y.length());
    }
}
